package com.lscdu.gulimall.ruoyi_springboot.mapper;

import java.util.List;

public interface SysMenuMapper {
	/**
	 * 根据用户ID查询权限
	 *
	 * @param userId 用户ID
	 * @return 权限列表
	 */
	public List<String> selectMenuPermsByUserId(Long userId);

	List<String> selectMenuPermsByRoleId(Long roleId);
}
